$(function(){	
	$("#dg").edatagrid({
		url:frame.fullUrl("/base/acount/pageparent.json"),
		saveUrl: frame.fullUrl("/base/acount/save.json"),
		updateUrl: frame.fullUrl("/base/acount/save.json"),
		destroyUrl: frame.fullUrl("/base/acount/delete.json"),
		onSave: loadData
	});
});

function loadData(){
	$("#dg").datagrid("load");
};

function click_row_edit(){
	frame.window.openWindow("/base/user/groupdetial.jsp");
}
